package com.gengzp.common.model.database.req;

import com.gengzp.common.document.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName EditSysTableReq
 * @Description 编辑系统表设计请求实体
 * @Author gengzp
 * @Date 2025/7/8 14:07
 */
@Data
public class EditSysTableReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -3547887444408435373L;

    /**
     * id
     */
    @NotBlank(message = "id不能为空")
    @ApiModelProperty(value = "id", required = true)
    private String id;

    /**
     * 关联的数据库编码
     */
    @ApiModelProperty(value = "关联的数据库编码", required = true)
    private String relationDatabaseCode;

    /**
     * 表编码
     */
    @ApiModelProperty(value = "表编码", required = true)
    private String sysTableCode;

    /**
     * 表名称
     */
    @ApiModelProperty(value = "表名称", required = true)
    private String sysTableName;

    /**
     * 表描述
     */
    @ApiModelProperty(value = "表描述")
    private String sysTableDescription;

    /**
     * 表dll
     */
    @ApiModelProperty(value = "表dll")
    private String sysTableDll;

}
